package com.yhl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yhl.entity.User;

import java.util.List;

public interface UserService {



    void addUser(User user);

    void deleteUserById(String id);

    void updateUser(User user);

    User getUserById(int id);

    User getUserByUserCode(String  userCode);
    IPage<User> getUserByPage(User user);
}
